package com.cr.admin.business.city.dao.repository;

import com.cr.admin.business.city.pojo.entity.City;
import com.cr.admin.business.city.pojo.param.CityAddParam;
import com.cr.admin.business.city.pojo.param.CityUpdateParam;
import com.cr.admin.business.city.pojo.query.CityQuery;

import java.util.List;

public interface CityRepository {

    List<City> selectCity(CityQuery cityQuery);

    void addCity(CityAddParam cityAddParam);

    void updateById(CityUpdateParam topicUpdateParam);

    City selectById(Long id);

    void deleteByIds(List<Long> ids);
}
